package gao.xiaolei.dao;

import gao.xiaolei.entity.AuthResource;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("AuthResourceDao")
public interface AuthResourceDao extends JpaRepository<AuthResource, String>{

    public List<AuthResource> findByUserId(String userId);
}
